package com.czf.company;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.oas.annotations.EnableOpenApi;

@SpringBootApplication
@EnableOpenApi
@MapperScan("com/czf/common/mapper")
@ComponentScan("com.czf.common")
@ComponentScan
@Slf4j
public class CompanyCreditApplication {

    public static void main(String[] args) {
        SpringApplication.run(CompanyCreditApplication.class, args);
        log.info("企业信用模型项目启动");
    }

}
